import { BasicColumn, FormSchema } from '@apps/antd-admin/src/components/Table';

export const columns: BasicColumn[] = [
  {
    title: '标题',
    dataIndex: 'logTitle',
    width: 200,
  },
  {
    title: '操作值',
    dataIndex: 'logContent',
    width: 200,
  },
  {
    title: '操作人',
    dataIndex: 'optUserName',
    width: 120,
  },
  {
    title: '创建时间',
    dataIndex: 'createTime',
    width: 200,
  },
];

export const searchFormSchema: FormSchema[] = [
  {
    field: 'optUserName',
    label: '操作人',
    component: 'Input',
    colProps: { span: 6 },
  },
];
